Files
Paul Holzinger 942f789a88 set !remote build tags where needed
The new golangci-lint version 1.60.1 has problems with typecheck when
linting remote files. We have certain pakcages that should never be
inlcuded in remote but the typecheck tries to compile all of them but
this never works and it seems to ignore the exclude files we gave it.

To fix this the proper way is to mark all packages we only use locally
with !remote tags. This is a bit ugly but more correct. I also moved the
DecodeChanges() code around as it is called from the client so the
handles package which should only be remote doesn't really fit anyway.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-08-19 11:41:28 +02:00

156 lines
2.2 KiB
Go

//go:build !remote
package entities
type CreateStorageLayerOptions struct {
Parent string
ID string
ContentsArchive []byte
}
type CreateStorageLayerReport struct {
ID string
}
type CreateLayerOptions struct {
Parent string
ID string
}
type CreateLayerReport struct {
ID string
}
type CreateLayerDataOptions struct {
ID string
Data map[string][]byte
}
type CreateLayerDataReport struct{}
type CreateImageOptions struct {
Layer string
Names []string
ID string
}
type CreateImageReport struct {
ID string
}
type CreateImageDataOptions struct {
ID string
Data map[string][]byte
}
type CreateImageDataReport struct{}
type CreateContainerOptions struct {
Layer string
Image string
Names []string
ID string
}
type CreateContainerReport struct {
ID string
}
type CreateContainerDataOptions struct {
ID string
Data map[string][]byte
}
type CreateContainerDataReport struct{}
type ModifyLayerOptions struct {
ID string
ContentsArchive []byte
}
type ModifyLayerReport struct{}
type PopulateLayerOptions struct {
ID string
ContentsArchive []byte
}
type PopulateLayerReport struct{}
type RemoveStorageLayerOptions struct {
ID string
}
type RemoveStorageLayerReport struct {
ID string
}
type RemoveLayerOptions struct {
ID string
}
type RemoveLayerReport struct {
ID string
}
type RemoveImageOptions struct {
ID string
}
type RemoveImageReport struct {
ID string
}
type RemoveContainerOptions struct {
ID string
}
type RemoveContainerReport struct {
ID string
}
type RemoveLayerDataOptions struct {
ID string
Key string
}
type RemoveLayerDataReport struct{}
type RemoveImageDataOptions struct {
ID string
Key string
}
type RemoveImageDataReport struct{}
type RemoveContainerDataOptions struct {
ID string
Key string
}
type RemoveContainerDataReport struct{}
type ModifyLayerDataOptions struct {
ID string
Key string
Data []byte
}
type ModifyLayerDataReport struct{}
type ModifyImageDataOptions struct {
ID string
Key string
Data []byte
}
type ModifyImageDataReport struct{}
type ModifyContainerDataOptions struct {
ID string
Key string
Data []byte
}
type ModifyContainerDataReport struct{}