Documentation ¶
Overview ¶
+k8s:conversion-gen=github.com/redhat-marketplace/datactl/pkg/datactl/api +k8s:deepcopy-gen=package +groupName=datactl
Index ¶
- Variables
- func Convert_api_Config_To_v1_Config(a *api.Config, b *Config, scope conversion.Scope) error
- func Convert_api_DataServiceEndpoint_To_v1_DataServiceEndpoint(in *api.DataServiceEndpoint, out *DataServiceEndpoint, s conversion.Scope) error
- func Convert_api_ILMTEndpoint_To_v1_ILMTEndpoint(in *api.ILMTEndpoint, out *ILMTEndpoint, s conversion.Scope) error
- func Convert_api_MeteringExport_To_v1_MeteringExport(in *api.MeteringExport, out *MeteringExport, s conversion.Scope) error
- func Convert_api_Source_To_v1_Source(in *api.Source, out *Source, s conversion.Scope) error
- func Convert_api_UploadAPI_To_v1_UploadAPI(in *api.UploadAPI, out *UploadAPI, s conversion.Scope) error
- func Convert_v1_Config_To_api_Config(a *Config, b *api.Config, scope conversion.Scope) error
- func Convert_v1_DataServiceEndpoint_To_api_DataServiceEndpoint(in *DataServiceEndpoint, out *api.DataServiceEndpoint, s conversion.Scope) error
- func Convert_v1_ILMTEndpoint_To_api_ILMTEndpoint(in *ILMTEndpoint, out *api.ILMTEndpoint, s conversion.Scope) error
- func Convert_v1_MeteringExport_To_api_MeteringExport(in *MeteringExport, out *api.MeteringExport, s conversion.Scope) error
- func Convert_v1_Source_To_api_Source(in *Source, out *api.Source, s conversion.Scope) error
- func Convert_v1_UploadAPI_To_api_UploadAPI(in *UploadAPI, out *api.UploadAPI, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- type Config
- func (in *Config) DeepCopy() *Config
- func (in *Config) DeepCopyInto(out *Config)
- func (in *Config) DeepCopyObject() runtime.Object
- func (obj *Config) GetObjectKind() schema.ObjectKind
- func (obj *Config) GroupVersionKind() schema.GroupVersionKind
- func (obj *Config) SetGroupVersionKind(gvk schema.GroupVersionKind)
- type DataServiceEndpoint
- type ILMTEndpoint
- type MeteringExport
- type Source
- type UploadAPI
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "datactl", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_api_DataServiceEndpoint_To_v1_DataServiceEndpoint ¶
func Convert_api_DataServiceEndpoint_To_v1_DataServiceEndpoint(in *api.DataServiceEndpoint, out *DataServiceEndpoint, s conversion.Scope) error
Convert_api_DataServiceEndpoint_To_v1_DataServiceEndpoint is an autogenerated conversion function.
func Convert_api_ILMTEndpoint_To_v1_ILMTEndpoint ¶ added in v0.3.0
func Convert_api_ILMTEndpoint_To_v1_ILMTEndpoint(in *api.ILMTEndpoint, out *ILMTEndpoint, s conversion.Scope) error
Convert_api_ILMTEndpoint_To_v1_ILMTEndpoint is an autogenerated conversion function.
func Convert_api_MeteringExport_To_v1_MeteringExport ¶
func Convert_api_MeteringExport_To_v1_MeteringExport(in *api.MeteringExport, out *MeteringExport, s conversion.Scope) error
Convert_api_MeteringExport_To_v1_MeteringExport is an autogenerated conversion function.
func Convert_api_Source_To_v1_Source ¶ added in v0.3.0
Convert_api_Source_To_v1_Source is an autogenerated conversion function.
func Convert_api_UploadAPI_To_v1_UploadAPI ¶
func Convert_api_UploadAPI_To_v1_UploadAPI(in *api.UploadAPI, out *UploadAPI, s conversion.Scope) error
Convert_api_UploadAPI_To_v1_UploadAPI is an autogenerated conversion function.
func Convert_v1_DataServiceEndpoint_To_api_DataServiceEndpoint ¶
func Convert_v1_DataServiceEndpoint_To_api_DataServiceEndpoint(in *DataServiceEndpoint, out *api.DataServiceEndpoint, s conversion.Scope) error
Convert_v1_DataServiceEndpoint_To_api_DataServiceEndpoint is an autogenerated conversion function.
func Convert_v1_ILMTEndpoint_To_api_ILMTEndpoint ¶ added in v0.3.0
func Convert_v1_ILMTEndpoint_To_api_ILMTEndpoint(in *ILMTEndpoint, out *api.ILMTEndpoint, s conversion.Scope) error
Convert_v1_ILMTEndpoint_To_api_ILMTEndpoint is an autogenerated conversion function.
func Convert_v1_MeteringExport_To_api_MeteringExport ¶
func Convert_v1_MeteringExport_To_api_MeteringExport(in *MeteringExport, out *api.MeteringExport, s conversion.Scope) error
Convert_v1_MeteringExport_To_api_MeteringExport is an autogenerated conversion function.
func Convert_v1_Source_To_api_Source ¶ added in v0.3.0
Convert_v1_Source_To_api_Source is an autogenerated conversion function.
func Convert_v1_UploadAPI_To_api_UploadAPI ¶
func Convert_v1_UploadAPI_To_api_UploadAPI(in *UploadAPI, out *api.UploadAPI, s conversion.Scope) error
Convert_v1_UploadAPI_To_api_UploadAPI is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type Config ¶
type Config struct { MarketplaceEndpoint UploadAPI `json:"upload-api"` CurrentMeteringExport *MeteringExport `json:"current-metering-export,omitempty"` MeteringExports []*MeteringExport `json:"metering-export-history,omitempty"` DataServiceEndpoints []*DataServiceEndpoint `json:"data-service-endpoints,omitempty"` ILMTEndpoints []*ILMTEndpoint `json:"ilmt-endpoints,omitempty"` Sources []*Source `json:"sources,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Config) GetObjectKind ¶
func (obj *Config) GetObjectKind() schema.ObjectKind
func (*Config) GroupVersionKind ¶
func (obj *Config) GroupVersionKind() schema.GroupVersionKind
func (*Config) SetGroupVersionKind ¶
func (obj *Config) SetGroupVersionKind(gvk schema.GroupVersionKind)
type DataServiceEndpoint ¶
type DataServiceEndpoint struct { ClusterName string `json:"cluster-name"` Host string `json:"host"` TokenData string `json:"token-data,omitempty"` TokenExpiration metav1.Time `json:"token-expiration,omitempty"` ServiceAccount string `json:"service-account,omitempty"` Namespace string `json:"namespace,omitempty"` // InsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure. // +optional InsecureSkipTLSVerify bool `json:"insecure-skip-tls-verify,omitempty"` // CertificateAuthority is the path to a cert file for the certificate authority. // +optional CertificateAuthority string `json:"certificate-authority,omitempty"` // CertificateAuthorityData contains PEM-encoded certificate authority certificates. Overrides CertificateAuthority // +optional CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"` }
func (*DataServiceEndpoint) DeepCopy ¶
func (in *DataServiceEndpoint) DeepCopy() *DataServiceEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataServiceEndpoint.
func (*DataServiceEndpoint) DeepCopyInto ¶
func (in *DataServiceEndpoint) DeepCopyInto(out *DataServiceEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ILMTEndpoint ¶ added in v0.3.0
type ILMTEndpoint struct { // LocationOfOrigin indicates where this object came from. It is used for round tripping config post-merge, but never serialized. // +k8s:conversion-gen=false LocationOfOrigin string Host string `json:"host"` Port string `json:"port"` // Token is base64 encoded token in the config file, env var, or token argument Token string `json:"token"` LastPulldate string `json:"last-pull-date"` }
func (*ILMTEndpoint) DeepCopy ¶ added in v0.3.0
func (in *ILMTEndpoint) DeepCopy() *ILMTEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ILMTEndpoint.
func (*ILMTEndpoint) DeepCopyInto ¶ added in v0.3.0
func (in *ILMTEndpoint) DeepCopyInto(out *ILMTEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeteringExport ¶
type MeteringExport struct { FileName string `json:"name"` // +optional DataServiceCluster string `json:"data-service-cluster,omitempty"` // +optional Files []*dataservicev1.FileInfoCTLAction `json:"files,omitempty"` }
func (*MeteringExport) DeepCopy ¶
func (in *MeteringExport) DeepCopy() *MeteringExport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringExport.
func (*MeteringExport) DeepCopyInto ¶
func (in *MeteringExport) DeepCopyInto(out *MeteringExport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Source ¶ added in v0.3.0
type Source struct { Name string `json:"source-name"` Type api.SourceType `json:"source-type"` LastAccessTime metav1.Time `json:"last-access-time,omitempty"` }
func (*Source) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.
func (*Source) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UploadAPI ¶
type UploadAPI struct { // Host is the url of the marketplace i.e. swc.saas.ibm.com Host string `json:"host"` // +optional PullSecret string `json:"pull-secret,omitempty"` // +optional PullSecretData string `json:"pull-secret-data,omitempty"` // InsecureSkipTLSVerify skips the validity check for the server's certificate. This will make your HTTPS connections insecure. // +optional InsecureSkipTLSVerify bool `json:"insecure-skip-tls-verify,omitempty"` // CertificateAuthority is the path to a cert file for the certificate authority. // +optional CertificateAuthority string `json:"certificate-authority,omitempty"` // CertificateAuthorityData contains PEM-encoded certificate authority certificates. Overrides CertificateAuthority // +optional CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"` // ProxyURL is the URL to the proxy to be used for all requests made by this // client. URLs with "http", "https", and "socks5" schemes are supported. If // this configuration is not provided or the empty string, the client // attempts to construct a proxy configuration from http_proxy and // https_proxy environment variables. If these environment variables are not // set, the client does not attempt to proxy requests. // // socks5 proxying does not currently support spdy streaming endpoints (exec, // attach, port forward). // +optional ProxyURL string `json:"proxy-url,omitempty"` }
func (*UploadAPI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UploadAPI.
func (*UploadAPI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.