Documentation ¶
Index ¶
- Variables
- 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 MeteringFileSummary
- type Source
- type SourceType
- type UploadAPI
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "datactl", Version: "__internal"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MarketplaceEndpoint UploadAPI `json:"upload-api"` CurrentMeteringExport *MeteringExport `json:"current-metering-export,omitempty"` MeteringExports map[string]*MeteringExport `json:"metering-export-history,omitempty"` DataServiceEndpoints map[string]*DataServiceEndpoint `json:"data-service-endpoints,omitempty"` ILMTEndpoints map[string]*ILMTEndpoint `json:"ilmt-endpoints,omitempty"` Sources map[string]*Source `json:"sources,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func NewDefaultConfig ¶
func NewDefaultConfig(kube *genericclioptions.ConfigFlags) (*Config, error)
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 { // 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 ClusterName string `json:"cluster-name"` Host string `json:"host"` // TokenData is base64 encoded token in the config file, env var, or token argument 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 { // 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 `json:"-"` FileName string `json:"name"` // +optional DataServiceCluster string `json:"data-service-cluster,omitempty"` // +optional Files []*dataservicev1.FileInfoCTLAction `json:"files,omitempty"` // +k8s:conversion-gen=false Committed bool `json:"-"` // +k8s:conversion-gen=false Pushed bool `json:"-"` }
func NewDefaultMeteringExport ¶
func NewDefaultMeteringExport() *MeteringExport
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 MeteringFileSummary ¶
type MeteringFileSummary struct { DataServiceContext string `json:"data-service-context"` // +optional Files []*dataservicev1.FileInfoCTLAction `json:"files,omitempty"` Committed bool `json:"committed,omitempty"` Pushed bool `json:"pushed,omitempty"` }
DEPRECATED
func (*MeteringFileSummary) DeepCopy ¶
func (in *MeteringFileSummary) DeepCopy() *MeteringFileSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringFileSummary.
func (*MeteringFileSummary) DeepCopyInto ¶
func (in *MeteringFileSummary) DeepCopyInto(out *MeteringFileSummary)
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 { // 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 `json:"-"` Name string `json:"source-name"` Type 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 SourceType ¶ added in v0.3.0
type SourceType string
const ( DataService SourceType = "DataService" ILMT SourceType = "ILMT" )
func (SourceType) MarshalText ¶ added in v0.3.0
func (s SourceType) MarshalText() (text []byte, err error)
func (SourceType) String ¶ added in v0.3.0
func (s SourceType) String() (text string)
func (*SourceType) UnmarshalText ¶ added in v0.3.0
func (s *SourceType) UnmarshalText(text []byte) error
type UploadAPI ¶
type UploadAPI 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 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.
Directories ¶
Path | Synopsis |
---|---|
dataservice
|
|
v1
+k8s:deepcopy-gen=package +groupName=datactl.dataservice
|
+k8s:deepcopy-gen=package +groupName=datactl.dataservice |
+k8s:conversion-gen=github.com/redhat-marketplace/datactl/pkg/datactl/api +k8s:deepcopy-gen=package +groupName=datactl
|
+k8s:conversion-gen=github.com/redhat-marketplace/datactl/pkg/datactl/api +k8s:deepcopy-gen=package +groupName=datactl |