Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func ValidateTLSConfig(tlsConfig *TLSConfig) error
- type Amount
- func (in *Amount) DeepCopy() *Amount
- func (in *Amount) DeepCopyInto(out *Amount)
- func (*Amount) Descriptor() ([]byte, []int)
- func (n *Amount) Float64() (float64, error)
- func (m *Amount) Marshal() (dAtA []byte, err error)
- func (n Amount) MarshalJSON() ([]byte, error)
- func (m *Amount) MarshalTo(dAtA []byte) (int, error)
- func (m *Amount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (n Amount) OpenAPISchemaFormat() string
- func (n Amount) OpenAPISchemaType() []string
- func (*Amount) ProtoMessage()
- func (m *Amount) Reset()
- func (m *Amount) Size() (n int)
- func (this *Amount) String() string
- func (m *Amount) Unmarshal(dAtA []byte) error
- func (a *Amount) UnmarshalJSON(value []byte) error
- func (m *Amount) XXX_DiscardUnknown()
- func (m *Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Amount) XXX_Merge(src proto.Message)
- func (m *Amount) XXX_Size() int
- func (m *Amount) XXX_Unmarshal(b []byte) error
- type Backoff
- func (in *Backoff) DeepCopy() *Backoff
- func (in *Backoff) DeepCopyInto(out *Backoff)
- func (*Backoff) Descriptor() ([]byte, []int)
- func (b Backoff) GetSteps() int
- func (m *Backoff) Marshal() (dAtA []byte, err error)
- func (m *Backoff) MarshalTo(dAtA []byte) (int, error)
- func (m *Backoff) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Backoff) ProtoMessage()
- func (m *Backoff) Reset()
- func (m *Backoff) Size() (n int)
- func (this *Backoff) String() string
- func (m *Backoff) Unmarshal(dAtA []byte) error
- func (m *Backoff) XXX_DiscardUnknown()
- func (m *Backoff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Backoff) XXX_Merge(src proto.Message)
- func (m *Backoff) XXX_Size() int
- func (m *Backoff) XXX_Unmarshal(b []byte) error
- type BasicAuth
- func (in *BasicAuth) DeepCopy() *BasicAuth
- func (in *BasicAuth) DeepCopyInto(out *BasicAuth)
- func (*BasicAuth) Descriptor() ([]byte, []int)
- func (m *BasicAuth) Marshal() (dAtA []byte, err error)
- func (m *BasicAuth) MarshalTo(dAtA []byte) (int, error)
- func (m *BasicAuth) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BasicAuth) ProtoMessage()
- func (m *BasicAuth) Reset()
- func (m *BasicAuth) Size() (n int)
- func (this *BasicAuth) String() string
- func (m *BasicAuth) Unmarshal(dAtA []byte) error
- func (m *BasicAuth) XXX_DiscardUnknown()
- func (m *BasicAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BasicAuth) XXX_Merge(src proto.Message)
- func (m *BasicAuth) XXX_Size() int
- func (m *BasicAuth) XXX_Unmarshal(b []byte) error
- type Condition
- func (in *Condition) DeepCopy() *Condition
- func (in *Condition) DeepCopyInto(out *Condition)
- func (*Condition) Descriptor() ([]byte, []int)
- func (c *Condition) GetMessage() string
- func (c *Condition) GetReason() string
- func (c *Condition) IsFalse() bool
- func (c *Condition) IsTrue() bool
- func (c *Condition) IsUnknown() bool
- func (m *Condition) Marshal() (dAtA []byte, err error)
- func (m *Condition) MarshalTo(dAtA []byte) (int, error)
- func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Condition) ProtoMessage()
- func (m *Condition) Reset()
- func (m *Condition) Size() (n int)
- func (this *Condition) String() string
- func (m *Condition) Unmarshal(dAtA []byte) error
- func (m *Condition) XXX_DiscardUnknown()
- func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Condition) XXX_Merge(src proto.Message)
- func (m *Condition) XXX_Size() int
- func (m *Condition) XXX_Unmarshal(b []byte) error
- type ConditionType
- type EventBusType
- type EventSourceType
- type Int64OrString
- func (in *Int64OrString) DeepCopy() *Int64OrString
- func (in *Int64OrString) DeepCopyInto(out *Int64OrString)
- func (*Int64OrString) Descriptor() ([]byte, []int)
- func (int64str *Int64OrString) Int64Value() int64
- func (m *Int64OrString) Marshal() (dAtA []byte, err error)
- func (int64str Int64OrString) MarshalJSON() ([]byte, error)
- func (m *Int64OrString) MarshalTo(dAtA []byte) (int, error)
- func (m *Int64OrString) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (Int64OrString) OpenAPISchemaFormat() string
- func (Int64OrString) OpenAPISchemaType() []string
- func (*Int64OrString) ProtoMessage()
- func (m *Int64OrString) Reset()
- func (m *Int64OrString) Size() (n int)
- func (this *Int64OrString) String() string
- func (m *Int64OrString) Unmarshal(dAtA []byte) error
- func (int64str *Int64OrString) UnmarshalJSON(value []byte) error
- func (m *Int64OrString) XXX_DiscardUnknown()
- func (m *Int64OrString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Int64OrString) XXX_Merge(src proto.Message)
- func (m *Int64OrString) XXX_Size() int
- func (m *Int64OrString) XXX_Unmarshal(b []byte) error
- type Metadata
- func (in *Metadata) DeepCopy() *Metadata
- func (in *Metadata) DeepCopyInto(out *Metadata)
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (this *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Resource
- func (in *Resource) DeepCopy() *Resource
- func (in *Resource) DeepCopyInto(out *Resource)
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) Marshal() (dAtA []byte, err error)
- func (n Resource) MarshalJSON() ([]byte, error)
- func (m *Resource) MarshalTo(dAtA []byte) (int, error)
- func (m *Resource) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (n Resource) OpenAPISchemaFormat() string
- func (n Resource) OpenAPISchemaType() []string
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) Size() (n int)
- func (this *Resource) String() string
- func (m *Resource) Unmarshal(dAtA []byte) error
- func (a *Resource) UnmarshalJSON(value []byte) error
- func (m *Resource) XXX_DiscardUnknown()
- func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resource) XXX_Merge(src proto.Message)
- func (m *Resource) XXX_Size() int
- func (m *Resource) XXX_Unmarshal(b []byte) error
- type S3Artifact
- func (in *S3Artifact) DeepCopy() *S3Artifact
- func (in *S3Artifact) DeepCopyInto(out *S3Artifact)
- func (*S3Artifact) Descriptor() ([]byte, []int)
- func (m *S3Artifact) Marshal() (dAtA []byte, err error)
- func (m *S3Artifact) MarshalTo(dAtA []byte) (int, error)
- func (m *S3Artifact) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*S3Artifact) ProtoMessage()
- func (m *S3Artifact) Reset()
- func (m *S3Artifact) Size() (n int)
- func (this *S3Artifact) String() string
- func (m *S3Artifact) Unmarshal(dAtA []byte) error
- func (m *S3Artifact) XXX_DiscardUnknown()
- func (m *S3Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S3Artifact) XXX_Merge(src proto.Message)
- func (m *S3Artifact) XXX_Size() int
- func (m *S3Artifact) XXX_Unmarshal(b []byte) error
- type S3Bucket
- func (in *S3Bucket) DeepCopy() *S3Bucket
- func (in *S3Bucket) DeepCopyInto(out *S3Bucket)
- func (*S3Bucket) Descriptor() ([]byte, []int)
- func (m *S3Bucket) Marshal() (dAtA []byte, err error)
- func (m *S3Bucket) MarshalTo(dAtA []byte) (int, error)
- func (m *S3Bucket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*S3Bucket) ProtoMessage()
- func (m *S3Bucket) Reset()
- func (m *S3Bucket) Size() (n int)
- func (this *S3Bucket) String() string
- func (m *S3Bucket) Unmarshal(dAtA []byte) error
- func (m *S3Bucket) XXX_DiscardUnknown()
- func (m *S3Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S3Bucket) XXX_Merge(src proto.Message)
- func (m *S3Bucket) XXX_Size() int
- func (m *S3Bucket) XXX_Unmarshal(b []byte) error
- type S3Filter
- func (in *S3Filter) DeepCopy() *S3Filter
- func (in *S3Filter) DeepCopyInto(out *S3Filter)
- func (*S3Filter) Descriptor() ([]byte, []int)
- func (m *S3Filter) Marshal() (dAtA []byte, err error)
- func (m *S3Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *S3Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*S3Filter) ProtoMessage()
- func (m *S3Filter) Reset()
- func (m *S3Filter) Size() (n int)
- func (this *S3Filter) String() string
- func (m *S3Filter) Unmarshal(dAtA []byte) error
- func (m *S3Filter) XXX_DiscardUnknown()
- func (m *S3Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S3Filter) XXX_Merge(src proto.Message)
- func (m *S3Filter) XXX_Size() int
- func (m *S3Filter) XXX_Unmarshal(b []byte) error
- type Status
- func (in *Status) DeepCopy() *Status
- func (in *Status) DeepCopyInto(out *Status)
- func (*Status) Descriptor() ([]byte, []int)
- func (s *Status) GetCondition(t ConditionType) *Condition
- func (s *Status) InitializeConditions(conditionTypes ...ConditionType)
- func (s *Status) IsReady() bool
- func (s *Status) MarkFalse(t ConditionType, reason, message string)
- func (s *Status) MarkTrue(t ConditionType)
- func (s *Status) MarkTrueWithReason(t ConditionType, reason, message string)
- func (s *Status) MarkUnknown(t ConditionType, reason, message string)
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (s *Status) SetCondition(condition Condition)
- func (m *Status) Size() (n int)
- func (this *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type TLSConfig
- func (in *TLSConfig) DeepCopy() *TLSConfig
- func (in *TLSConfig) DeepCopyInto(out *TLSConfig)
- func (*TLSConfig) Descriptor() ([]byte, []int)
- func (m *TLSConfig) Marshal() (dAtA []byte, err error)
- func (m *TLSConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TLSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLSConfig) ProtoMessage()
- func (m *TLSConfig) Reset()
- func (m *TLSConfig) Size() (n int)
- func (this *TLSConfig) String() string
- func (m *TLSConfig) Unmarshal(dAtA []byte) error
- func (m *TLSConfig) XXX_DiscardUnknown()
- func (m *TLSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLSConfig) XXX_Merge(src proto.Message)
- func (m *TLSConfig) XXX_Size() int
- func (m *TLSConfig) XXX_Unmarshal(b []byte) error
- type TriggerType
- type Type
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // RecreateStrategyEventSources refers to the list of event source types // that need to use Recreate strategy for its Deployment RecreateStrategyEventSources = []EventSourceType{ AMQPEvent, CalendarEvent, KafkaEvent, PubSubEvent, AzureEventsHub, NATSEvent, MQTTEvent, MinioEvent, EmitterEvent, NSQEvent, PulsarEvent, RedisEvent, ResourceEvent, HDFSEvent, FileEvent, GenericEvent, } )
Functions ¶
func GetOpenAPIDefinitions ¶ added in v0.13.0
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func ValidateTLSConfig ¶ added in v1.0.0
ValidateTLSConfig validates a TLS configuration.
Types ¶
type Amount ¶ added in v0.17.0
type Amount struct {
Value []byte `json:"value" protobuf:"bytes,1,opt,name=value"`
}
Amount represent a numeric amount.
func (*Amount) DeepCopy ¶ added in v0.17.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Amount.
func (*Amount) DeepCopyInto ¶ added in v0.17.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Amount) Descriptor ¶ added in v0.17.0
func (Amount) MarshalJSON ¶ added in v0.17.0
func (*Amount) MarshalToSizedBuffer ¶ added in v0.17.0
func (Amount) OpenAPISchemaFormat ¶ added in v0.17.0
func (Amount) OpenAPISchemaType ¶ added in v0.17.0
func (*Amount) ProtoMessage ¶ added in v0.17.0
func (*Amount) ProtoMessage()
func (*Amount) UnmarshalJSON ¶ added in v0.17.0
func (*Amount) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Amount) XXX_DiscardUnknown()
func (*Amount) XXX_Marshal ¶ added in v0.17.0
func (*Amount) XXX_Unmarshal ¶ added in v0.17.0
type Backoff ¶ added in v0.17.0
type Backoff struct { // The initial duration in nanoseconds or strings like "1s", "3m" // +optional Duration *Int64OrString `json:"duration,omitempty" protobuf:"varint,1,opt,name=duration"` // Duration is multiplied by factor each iteration // +optional Factor *Amount `json:"factor,omitempty" protobuf:"bytes,2,opt,name=factor"` // The amount of jitter applied each iteration // +optional Jitter *Amount `json:"jitter,omitempty" protobuf:"bytes,3,opt,name=jitter"` // Exit with error after this many steps // +optional Steps int32 `json:"steps,omitempty" protobuf:"varint,4,opt,name=steps"` }
Backoff for an operation
func (*Backoff) DeepCopy ¶ added in v0.17.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backoff.
func (*Backoff) DeepCopyInto ¶ added in v0.17.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backoff) Descriptor ¶ added in v0.17.0
func (*Backoff) MarshalToSizedBuffer ¶ added in v0.17.0
func (*Backoff) ProtoMessage ¶ added in v0.17.0
func (*Backoff) ProtoMessage()
func (*Backoff) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Backoff) XXX_DiscardUnknown()
func (*Backoff) XXX_Marshal ¶ added in v0.17.0
func (*Backoff) XXX_Unmarshal ¶ added in v0.17.0
type BasicAuth ¶ added in v1.3.0
type BasicAuth struct { // Username refers to the Kubernetes secret that holds the username required for basic auth. Username *corev1.SecretKeySelector `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"` // Password refers to the Kubernetes secret that holds the password required for basic auth. Password *corev1.SecretKeySelector `json:"password,omitempty" protobuf:"bytes,2,opt,name=password"` }
BasicAuth contains the reference to K8s secrets that holds the username and password
func (*BasicAuth) DeepCopy ¶ added in v1.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuth.
func (*BasicAuth) DeepCopyInto ¶ added in v1.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BasicAuth) Descriptor ¶ added in v1.3.0
func (*BasicAuth) MarshalToSizedBuffer ¶ added in v1.3.0
func (*BasicAuth) ProtoMessage ¶ added in v1.3.0
func (*BasicAuth) ProtoMessage()
func (*BasicAuth) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *BasicAuth) XXX_DiscardUnknown()
func (*BasicAuth) XXX_Marshal ¶ added in v1.3.0
func (*BasicAuth) XXX_Unmarshal ¶ added in v1.3.0
type Condition ¶ added in v0.16.0
type Condition struct { // Condition type. // +required Type ConditionType `json:"type" protobuf:"bytes,1,opt,name=type"` // Condition status, True, False or Unknown. // +required Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"` // Unique, this should be a short, machine understandable string that gives the reason // for condition's last transition. For example, "ImageNotFound" // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` // Human-readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` }
Condition contains details about resource state
func (*Condition) DeepCopy ¶ added in v0.16.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶ added in v0.16.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Condition) Descriptor ¶ added in v0.17.0
func (*Condition) GetMessage ¶ added in v0.16.0
GetMessage returns a Message
func (*Condition) MarshalToSizedBuffer ¶ added in v0.17.0
func (*Condition) ProtoMessage ¶ added in v0.17.0
func (*Condition) ProtoMessage()
func (*Condition) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Condition) XXX_DiscardUnknown()
func (*Condition) XXX_Marshal ¶ added in v0.17.0
func (*Condition) XXX_Unmarshal ¶ added in v0.17.0
type ConditionType ¶ added in v0.16.0
type ConditionType string
ConditionType is a valid value of Condition.Type
const ( // ConditionReady indicates the resource is ready. ConditionReady ConditionType = "Ready" )
type EventBusType ¶ added in v0.17.0
type EventBusType string
EventBusType is the type of event bus
var (
EventBusNATS EventBusType = "nats"
)
possible event bus types
type EventSourceType ¶ added in v0.13.0
type EventSourceType string
EventSourceType is the type of event source
var ( MinioEvent EventSourceType = "minio" CalendarEvent EventSourceType = "calendar" FileEvent EventSourceType = "file" ResourceEvent EventSourceType = "resource" WebhookEvent EventSourceType = "webhook" AMQPEvent EventSourceType = "amqp" KafkaEvent EventSourceType = "kafka" MQTTEvent EventSourceType = "mqtt" NATSEvent EventSourceType = "nats" SNSEvent EventSourceType = "sns" SQSEvent EventSourceType = "sqs" PubSubEvent EventSourceType = "pubsub" GithubEvent EventSourceType = "github" GitlabEvent EventSourceType = "gitlab" HDFSEvent EventSourceType = "hdfs" SlackEvent EventSourceType = "slack" StorageGridEvent EventSourceType = "storagegrid" AzureEventsHub EventSourceType = "azureEventsHub" StripeEvent EventSourceType = "stripe" EmitterEvent EventSourceType = "emitter" RedisEvent EventSourceType = "redis" NSQEvent EventSourceType = "nsq" PulsarEvent EventSourceType = "pulsar" GenericEvent EventSourceType = "generic" )
possible event source types
type Int64OrString ¶ added in v1.3.0
type Int64OrString struct { Type Type `json:"type" protobuf:"varint,1,opt,name=type,casttype=Type"` Int64Val int64 `json:"int64Val,omitempty" protobuf:"varint,2,opt,name=int64Val"` StrVal string `json:"strVal,omitempty" protobuf:"bytes,3,opt,name=strVal"` }
func FromInt64 ¶ added in v1.3.0
func FromInt64(val int64) Int64OrString
FromInt64 creates an Int64OrString object with an int64 value.
func FromString ¶ added in v1.3.0
func FromString(val string) Int64OrString
FromString creates an Int64OrString object with a string value.
func Parse ¶ added in v1.3.0
func Parse(val string) Int64OrString
Parse the given string and try to convert it to an int64 before setting it as a string value.
func (*Int64OrString) DeepCopy ¶ added in v1.3.0
func (in *Int64OrString) DeepCopy() *Int64OrString
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Int64OrString.
func (*Int64OrString) DeepCopyInto ¶ added in v1.3.0
func (in *Int64OrString) DeepCopyInto(out *Int64OrString)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Int64OrString) Descriptor ¶ added in v1.3.0
func (*Int64OrString) Descriptor() ([]byte, []int)
func (*Int64OrString) Int64Value ¶ added in v1.3.0
func (int64str *Int64OrString) Int64Value() int64
Int64Value returns the Int64Val if type Int64, or if it is a String, will attempt a conversion to int64, returning 0 if a parsing error occurs.
func (*Int64OrString) Marshal ¶ added in v1.3.0
func (m *Int64OrString) Marshal() (dAtA []byte, err error)
func (Int64OrString) MarshalJSON ¶ added in v1.3.0
func (int64str Int64OrString) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface.
func (*Int64OrString) MarshalTo ¶ added in v1.3.0
func (m *Int64OrString) MarshalTo(dAtA []byte) (int, error)
func (*Int64OrString) MarshalToSizedBuffer ¶ added in v1.3.0
func (m *Int64OrString) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (Int64OrString) OpenAPISchemaFormat ¶ added in v1.3.0
func (Int64OrString) OpenAPISchemaFormat() string
OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
func (Int64OrString) OpenAPISchemaType ¶ added in v1.3.0
func (Int64OrString) OpenAPISchemaType() []string
OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.
See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
func (*Int64OrString) ProtoMessage ¶ added in v1.3.0
func (*Int64OrString) ProtoMessage()
func (*Int64OrString) Reset ¶ added in v1.3.0
func (m *Int64OrString) Reset()
func (*Int64OrString) Size ¶ added in v1.3.0
func (m *Int64OrString) Size() (n int)
func (*Int64OrString) String ¶ added in v1.3.0
func (this *Int64OrString) String() string
func (*Int64OrString) Unmarshal ¶ added in v1.3.0
func (m *Int64OrString) Unmarshal(dAtA []byte) error
func (*Int64OrString) UnmarshalJSON ¶ added in v1.3.0
func (int64str *Int64OrString) UnmarshalJSON(value []byte) error
UnmarshalJSON implements the json.Unmarshaller interface.
func (*Int64OrString) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *Int64OrString) XXX_DiscardUnknown()
func (*Int64OrString) XXX_Marshal ¶ added in v1.3.0
func (m *Int64OrString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int64OrString) XXX_Merge ¶ added in v1.3.0
func (m *Int64OrString) XXX_Merge(src proto.Message)
func (*Int64OrString) XXX_Size ¶ added in v1.3.0
func (m *Int64OrString) XXX_Size() int
func (*Int64OrString) XXX_Unmarshal ¶ added in v1.3.0
func (m *Int64OrString) XXX_Unmarshal(b []byte) error
type Metadata ¶ added in v1.1.0
type Metadata struct { Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,1,rep,name=annotations"` Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,2,rep,name=labels"` }
Metadata holds the annotations and labels of an event source pod
func (*Metadata) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Metadata) Descriptor ¶ added in v1.1.0
func (*Metadata) MarshalToSizedBuffer ¶ added in v1.1.0
func (*Metadata) ProtoMessage ¶ added in v1.1.0
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶ added in v1.1.0
func (*Metadata) XXX_Unmarshal ¶ added in v1.1.0
type Resource ¶ added in v0.17.0
type Resource struct {
Value []byte `json:"value" protobuf:"bytes,1,opt,name=value"`
}
Resource represent arbitrary structured data.
func NewResource ¶ added in v0.17.0
func NewResource(s interface{}) Resource
func (*Resource) DeepCopy ¶ added in v0.17.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶ added in v0.17.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Resource) Descriptor ¶ added in v0.17.0
func (Resource) MarshalJSON ¶ added in v0.17.0
func (*Resource) MarshalToSizedBuffer ¶ added in v0.17.0
func (Resource) OpenAPISchemaFormat ¶ added in v0.17.0
func (Resource) OpenAPISchemaType ¶ added in v0.17.0
func (*Resource) ProtoMessage ¶ added in v0.17.0
func (*Resource) ProtoMessage()
func (*Resource) UnmarshalJSON ¶ added in v0.17.0
func (*Resource) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Resource) XXX_DiscardUnknown()
func (*Resource) XXX_Marshal ¶ added in v0.17.0
func (*Resource) XXX_Unmarshal ¶ added in v0.17.0
type S3Artifact ¶
type S3Artifact struct { Endpoint string `json:"endpoint" protobuf:"bytes,1,opt,name=endpoint"` Bucket *S3Bucket `json:"bucket" protobuf:"bytes,2,opt,name=bucket"` Region string `json:"region,omitempty" protobuf:"bytes,3,opt,name=region"` Insecure bool `json:"insecure,omitempty" protobuf:"varint,4,opt,name=insecure"` AccessKey *corev1.SecretKeySelector `json:"accessKey" protobuf:"bytes,5,opt,name=accessKey"` SecretKey *corev1.SecretKeySelector `json:"secretKey" protobuf:"bytes,6,opt,name=secretKey"` Events []string `json:"events,omitempty" protobuf:"bytes,7,rep,name=events"` Filter *S3Filter `json:"filter,omitempty" protobuf:"bytes,8,opt,name=filter"` Metadata map[string]string `json:"metadata,omitempty" protobuf:"bytes,9,opt,name=metadata"` }
S3Artifact contains information about an S3 connection and bucket
func (*S3Artifact) DeepCopy ¶
func (in *S3Artifact) DeepCopy() *S3Artifact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Artifact.
func (*S3Artifact) DeepCopyInto ¶
func (in *S3Artifact) DeepCopyInto(out *S3Artifact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*S3Artifact) Descriptor ¶
func (*S3Artifact) Descriptor() ([]byte, []int)
func (*S3Artifact) Marshal ¶
func (m *S3Artifact) Marshal() (dAtA []byte, err error)
func (*S3Artifact) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *S3Artifact) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*S3Artifact) ProtoMessage ¶
func (*S3Artifact) ProtoMessage()
func (*S3Artifact) Reset ¶
func (m *S3Artifact) Reset()
func (*S3Artifact) Size ¶
func (m *S3Artifact) Size() (n int)
func (*S3Artifact) String ¶
func (this *S3Artifact) String() string
func (*S3Artifact) Unmarshal ¶
func (m *S3Artifact) Unmarshal(dAtA []byte) error
func (*S3Artifact) XXX_DiscardUnknown ¶
func (m *S3Artifact) XXX_DiscardUnknown()
func (*S3Artifact) XXX_Marshal ¶
func (m *S3Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*S3Artifact) XXX_Merge ¶
func (m *S3Artifact) XXX_Merge(src proto.Message)
func (*S3Artifact) XXX_Size ¶
func (m *S3Artifact) XXX_Size() int
func (*S3Artifact) XXX_Unmarshal ¶
func (m *S3Artifact) XXX_Unmarshal(b []byte) error
type S3Bucket ¶
type S3Bucket struct { Key string `json:"key,omitempty" protobuf:"bytes,1,opt,name=key"` Name string `json:"name" protobuf:"bytes,2,opt,name=name"` }
S3Bucket contains information to describe an S3 Bucket
func (*S3Bucket) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Bucket.
func (*S3Bucket) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*S3Bucket) Descriptor ¶
func (*S3Bucket) MarshalToSizedBuffer ¶ added in v0.17.0
func (*S3Bucket) ProtoMessage ¶
func (*S3Bucket) ProtoMessage()
func (*S3Bucket) XXX_DiscardUnknown ¶
func (m *S3Bucket) XXX_DiscardUnknown()
func (*S3Bucket) XXX_Marshal ¶
func (*S3Bucket) XXX_Unmarshal ¶
type S3Filter ¶
type S3Filter struct { Prefix string `json:"prefix" protobuf:"bytes,1,opt,name=prefix"` Suffix string `json:"suffix" protobuf:"bytes,2,opt,name=suffix"` }
S3Filter represents filters to apply to bucket notifications for specifying constraints on objects
func (*S3Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Filter.
func (*S3Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*S3Filter) Descriptor ¶
func (*S3Filter) MarshalToSizedBuffer ¶ added in v0.17.0
func (*S3Filter) ProtoMessage ¶
func (*S3Filter) ProtoMessage()
func (*S3Filter) XXX_DiscardUnknown ¶
func (m *S3Filter) XXX_DiscardUnknown()
func (*S3Filter) XXX_Marshal ¶
func (*S3Filter) XXX_Unmarshal ¶
type Status ¶ added in v0.16.0
type Status struct { // Conditions are the latest available observations of a resource's current state. // +optional // +patchMergeKey=type // +patchStrategy=merge Conditions []Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
Status is a common structure which can be used for Status field.
func (*Status) DeepCopy ¶ added in v0.16.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶ added in v0.16.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Status) Descriptor ¶ added in v0.17.0
func (*Status) GetCondition ¶ added in v0.16.0
func (s *Status) GetCondition(t ConditionType) *Condition
GetCondition returns the condition of a condtion type
func (*Status) InitializeConditions ¶ added in v0.17.0
func (s *Status) InitializeConditions(conditionTypes ...ConditionType)
InitializeConditions initializes the contions to Unknown
func (*Status) MarkFalse ¶ added in v0.16.0
func (s *Status) MarkFalse(t ConditionType, reason, message string)
MarkFalse sets the status of t to fasle
func (*Status) MarkTrue ¶ added in v0.16.0
func (s *Status) MarkTrue(t ConditionType)
MarkTrue sets the status of t to true
func (*Status) MarkTrueWithReason ¶ added in v0.16.0
func (s *Status) MarkTrueWithReason(t ConditionType, reason, message string)
MarkTrueWithReason sets the status of t to true with reason
func (*Status) MarkUnknown ¶ added in v0.16.0
func (s *Status) MarkUnknown(t ConditionType, reason, message string)
MarkUnknown sets the status of t to unknown
func (*Status) MarshalToSizedBuffer ¶ added in v0.17.0
func (*Status) ProtoMessage ¶ added in v0.17.0
func (*Status) ProtoMessage()
func (*Status) SetCondition ¶ added in v0.16.0
SetCondition sets a condition
func (*Status) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶ added in v0.17.0
func (*Status) XXX_Unmarshal ¶ added in v0.17.0
type TLSConfig ¶ added in v1.0.0
type TLSConfig struct { // CACertSecret refers to the secret that contains the CA cert CACertSecret *corev1.SecretKeySelector `json:"caCertSecret,omitempty" protobuf:"bytes,1,opt,name=caCertSecret"` // ClientCertSecret refers to the secret that contains the client cert ClientCertSecret *corev1.SecretKeySelector `json:"clientCertSecret,omitempty" protobuf:"bytes,2,opt,name=clientCertSecret"` // ClientKeySecret refers to the secret that contains the client key ClientKeySecret *corev1.SecretKeySelector `json:"clientKeySecret,omitempty" protobuf:"bytes,3,opt,name=clientKeySecret"` // DeprecatedCACertPath refers the file path that contains the CA cert. // Deprecated: will be removed in v1.5, use CACertSecret instead DeprecatedCACertPath string `json:"caCertPath,omitempty" protobuf:"bytes,4,opt,name=caCertPath"` // DeprecatedClientCertPath refers the file path that contains client cert. // Deprecated: will be removed in v1.5, use ClientCertSecret instead DeprecatedClientCertPath string `json:"clientCertPath,omitempty" protobuf:"bytes,5,opt,name=clientCertPath"` // DeprecatedClientKeyPath refers the file path that contains client key. // Deprecated: will be removed in v1.5, use ClientKeySecret instead DeprecatedClientKeyPath string `json:"clientKeyPath,omitempty" protobuf:"bytes,6,opt,name=clientKeyPath"` }
TLSConfig refers to TLS configuration for a client.
func (*TLSConfig) DeepCopy ¶ added in v1.0.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
func (*TLSConfig) DeepCopyInto ¶ added in v1.0.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TLSConfig) Descriptor ¶ added in v1.0.0
func (*TLSConfig) MarshalToSizedBuffer ¶ added in v1.0.0
func (*TLSConfig) ProtoMessage ¶ added in v1.0.0
func (*TLSConfig) ProtoMessage()
func (*TLSConfig) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *TLSConfig) XXX_DiscardUnknown()
func (*TLSConfig) XXX_Marshal ¶ added in v1.0.0
func (*TLSConfig) XXX_Unmarshal ¶ added in v1.0.0
type TriggerType ¶ added in v1.3.0
type TriggerType string
TriggerType is the type of trigger
var ( OpenWhiskTrigger TriggerType = "OpenWhisk" ArgoWorkflowTrigger TriggerType = "ArgoWorkflow" LambdaTrigger TriggerType = "Lambda" CustomTrigger TriggerType = "Custom" HTTPTrigger TriggerType = "HTTP" KafkaTrigger TriggerType = "Kafka" LogTrigger TriggerType = "Log" NATSTrigger TriggerType = "NATS" SlackTrigger TriggerType = "Slack" K8sTrigger TriggerType = "Kubernetes" AzureEventHubsTrigger TriggerType = "AzureEventHubs" )
possible trigger types