Documentation ¶
Index ¶
- func EndpointSliceV1_IsConstruct(x interface{}) *bool
- func EndpointSliceV1_IsTerraformElement(x interface{}) *bool
- func EndpointSliceV1_IsTerraformResource(x interface{}) *bool
- func EndpointSliceV1_TfResourceType() *string
- func NewEndpointSliceV1EndpointConditionOutputReference_Override(e EndpointSliceV1EndpointConditionOutputReference, ...)
- func NewEndpointSliceV1EndpointList_Override(e EndpointSliceV1EndpointList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewEndpointSliceV1EndpointOutputReference_Override(e EndpointSliceV1EndpointOutputReference, ...)
- func NewEndpointSliceV1EndpointTargetRefOutputReference_Override(e EndpointSliceV1EndpointTargetRefOutputReference, ...)
- func NewEndpointSliceV1MetadataOutputReference_Override(e EndpointSliceV1MetadataOutputReference, ...)
- func NewEndpointSliceV1PortList_Override(e EndpointSliceV1PortList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewEndpointSliceV1PortOutputReference_Override(e EndpointSliceV1PortOutputReference, ...)
- func NewEndpointSliceV1_Override(e EndpointSliceV1, scope constructs.Construct, id *string, ...)
- type EndpointSliceV1
- type EndpointSliceV1Config
- type EndpointSliceV1Endpoint
- type EndpointSliceV1EndpointCondition
- type EndpointSliceV1EndpointConditionOutputReference
- type EndpointSliceV1EndpointList
- type EndpointSliceV1EndpointOutputReference
- type EndpointSliceV1EndpointTargetRef
- type EndpointSliceV1EndpointTargetRefOutputReference
- type EndpointSliceV1Metadata
- type EndpointSliceV1MetadataOutputReference
- type EndpointSliceV1Port
- type EndpointSliceV1PortList
- type EndpointSliceV1PortOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointSliceV1_IsConstruct ¶
func EndpointSliceV1_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func EndpointSliceV1_IsTerraformElement ¶
func EndpointSliceV1_IsTerraformElement(x interface{}) *bool
Experimental.
func EndpointSliceV1_IsTerraformResource ¶
func EndpointSliceV1_IsTerraformResource(x interface{}) *bool
Experimental.
func EndpointSliceV1_TfResourceType ¶
func EndpointSliceV1_TfResourceType() *string
func NewEndpointSliceV1EndpointConditionOutputReference_Override ¶
func NewEndpointSliceV1EndpointConditionOutputReference_Override(e EndpointSliceV1EndpointConditionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewEndpointSliceV1EndpointList_Override ¶
func NewEndpointSliceV1EndpointList_Override(e EndpointSliceV1EndpointList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewEndpointSliceV1EndpointOutputReference_Override ¶
func NewEndpointSliceV1EndpointOutputReference_Override(e EndpointSliceV1EndpointOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewEndpointSliceV1EndpointTargetRefOutputReference_Override ¶
func NewEndpointSliceV1EndpointTargetRefOutputReference_Override(e EndpointSliceV1EndpointTargetRefOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewEndpointSliceV1MetadataOutputReference_Override ¶
func NewEndpointSliceV1MetadataOutputReference_Override(e EndpointSliceV1MetadataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewEndpointSliceV1PortList_Override ¶
func NewEndpointSliceV1PortList_Override(e EndpointSliceV1PortList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewEndpointSliceV1PortOutputReference_Override ¶
func NewEndpointSliceV1PortOutputReference_Override(e EndpointSliceV1PortOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewEndpointSliceV1_Override ¶
func NewEndpointSliceV1_Override(e EndpointSliceV1, scope constructs.Construct, id *string, config *EndpointSliceV1Config)
Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1 kubernetes_endpoint_slice_v1} Resource.
Types ¶
type EndpointSliceV1 ¶
type EndpointSliceV1 interface { cdktf.TerraformResource AddressType() *string SetAddressType(val *string) AddressTypeInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Endpoint() EndpointSliceV1EndpointList EndpointInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Metadata() EndpointSliceV1MetadataOutputReference MetadataInput() *EndpointSliceV1Metadata // The tree node. Node() constructs.Node Port() EndpointSliceV1PortList PortInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutEndpoint(value interface{}) PutMetadata(value *EndpointSliceV1Metadata) PutPort(value interface{}) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1 kubernetes_endpoint_slice_v1}.
func NewEndpointSliceV1 ¶
func NewEndpointSliceV1(scope constructs.Construct, id *string, config *EndpointSliceV1Config) EndpointSliceV1
Create a new {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1 kubernetes_endpoint_slice_v1} Resource.
type EndpointSliceV1Config ¶
type EndpointSliceV1Config struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // address_type specifies the type of address carried by this EndpointSlice. // // All addresses in this slice must be the same type. This field is immutable after creation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#address_type EndpointSliceV1#address_type} AddressType *string `field:"required" json:"addressType" yaml:"addressType"` // endpoint block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#endpoint EndpointSliceV1#endpoint} Endpoint interface{} `field:"required" json:"endpoint" yaml:"endpoint"` // metadata block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#metadata EndpointSliceV1#metadata} Metadata *EndpointSliceV1Metadata `field:"required" json:"metadata" yaml:"metadata"` // port block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#port EndpointSliceV1#port} Port interface{} `field:"required" json:"port" yaml:"port"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#id EndpointSliceV1#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` }
type EndpointSliceV1Endpoint ¶
type EndpointSliceV1Endpoint struct { // addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#addresses EndpointSliceV1#addresses} Addresses *[]*string `field:"required" json:"addresses" yaml:"addresses"` // condition block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#condition EndpointSliceV1#condition} Condition *EndpointSliceV1EndpointCondition `field:"optional" json:"condition" yaml:"condition"` // hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#hostname EndpointSliceV1#hostname} Hostname *string `field:"optional" json:"hostname" yaml:"hostname"` // nodeName represents the name of the Node hosting this endpoint. // // This can be used to determine endpoints local to a Node. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#node_name EndpointSliceV1#node_name} NodeName *string `field:"optional" json:"nodeName" yaml:"nodeName"` // target_ref block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#target_ref EndpointSliceV1#target_ref} TargetRef *EndpointSliceV1EndpointTargetRef `field:"optional" json:"targetRef" yaml:"targetRef"` // zone is the name of the Zone this endpoint exists in. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#zone EndpointSliceV1#zone} Zone *string `field:"optional" json:"zone" yaml:"zone"` }
type EndpointSliceV1EndpointCondition ¶
type EndpointSliceV1EndpointCondition struct { // ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#ready EndpointSliceV1#ready} Ready interface{} `field:"optional" json:"ready" yaml:"ready"` // serving is identical to ready except that it is set regardless of the terminating state of endpoints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#serving EndpointSliceV1#serving} Serving interface{} `field:"optional" json:"serving" yaml:"serving"` // terminating indicates that this endpoint is terminating. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#terminating EndpointSliceV1#terminating} Terminating interface{} `field:"optional" json:"terminating" yaml:"terminating"` }
type EndpointSliceV1EndpointConditionOutputReference ¶
type EndpointSliceV1EndpointConditionOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *EndpointSliceV1EndpointCondition SetInternalValue(val *EndpointSliceV1EndpointCondition) Ready() interface{} SetReady(val interface{}) ReadyInput() interface{} Serving() interface{} SetServing(val interface{}) ServingInput() interface{} Terminating() interface{} SetTerminating(val interface{}) TerminatingInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetReady() ResetServing() ResetTerminating() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewEndpointSliceV1EndpointConditionOutputReference ¶
func NewEndpointSliceV1EndpointConditionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) EndpointSliceV1EndpointConditionOutputReference
type EndpointSliceV1EndpointList ¶
type EndpointSliceV1EndpointList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) EndpointSliceV1EndpointOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewEndpointSliceV1EndpointList ¶
func NewEndpointSliceV1EndpointList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) EndpointSliceV1EndpointList
type EndpointSliceV1EndpointOutputReference ¶
type EndpointSliceV1EndpointOutputReference interface { cdktf.ComplexObject Addresses() *[]*string SetAddresses(val *[]*string) AddressesInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Condition() EndpointSliceV1EndpointConditionOutputReference ConditionInput() *EndpointSliceV1EndpointCondition // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Hostname() *string SetHostname(val *string) HostnameInput() *string InternalValue() interface{} SetInternalValue(val interface{}) NodeName() *string SetNodeName(val *string) NodeNameInput() *string TargetRef() EndpointSliceV1EndpointTargetRefOutputReference TargetRefInput() *EndpointSliceV1EndpointTargetRef // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Zone() *string SetZone(val *string) ZoneInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutCondition(value *EndpointSliceV1EndpointCondition) PutTargetRef(value *EndpointSliceV1EndpointTargetRef) ResetCondition() ResetHostname() ResetNodeName() ResetTargetRef() ResetZone() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewEndpointSliceV1EndpointOutputReference ¶
func NewEndpointSliceV1EndpointOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) EndpointSliceV1EndpointOutputReference
type EndpointSliceV1EndpointTargetRef ¶
type EndpointSliceV1EndpointTargetRef struct { // Name of the referent. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#name EndpointSliceV1#name} Name *string `field:"required" json:"name" yaml:"name"` // If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#field_path EndpointSliceV1#field_path} FieldPath *string `field:"optional" json:"fieldPath" yaml:"fieldPath"` // Namespace of the referent. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#namespace EndpointSliceV1#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` // Specific resourceVersion to which this reference is made, if any. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#resource_version EndpointSliceV1#resource_version} ResourceVersion *string `field:"optional" json:"resourceVersion" yaml:"resourceVersion"` // If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#uid EndpointSliceV1#uid} Uid *string `field:"optional" json:"uid" yaml:"uid"` }
type EndpointSliceV1EndpointTargetRefOutputReference ¶
type EndpointSliceV1EndpointTargetRefOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string FieldPath() *string SetFieldPath(val *string) FieldPathInput() *string // Experimental. Fqn() *string InternalValue() *EndpointSliceV1EndpointTargetRef SetInternalValue(val *EndpointSliceV1EndpointTargetRef) Name() *string SetName(val *string) NameInput() *string Namespace() *string SetNamespace(val *string) NamespaceInput() *string ResourceVersion() *string SetResourceVersion(val *string) ResourceVersionInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Uid() *string SetUid(val *string) UidInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetFieldPath() ResetNamespace() ResetResourceVersion() ResetUid() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewEndpointSliceV1EndpointTargetRefOutputReference ¶
func NewEndpointSliceV1EndpointTargetRefOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) EndpointSliceV1EndpointTargetRefOutputReference
type EndpointSliceV1Metadata ¶
type EndpointSliceV1Metadata struct { // An unstructured key value map stored with the endpoint_slice that may be used to store arbitrary metadata. // // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#annotations EndpointSliceV1#annotations} Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"` // Prefix, used by the server, to generate a unique name ONLY IF the `name` field has not been provided. // // This value will also be combined with a unique suffix. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#idempotency // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#generate_name EndpointSliceV1#generate_name} GenerateName *string `field:"optional" json:"generateName" yaml:"generateName"` // Map of string keys and values that can be used to organize and categorize (scope and select) the endpoint_slice. // // May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#labels EndpointSliceV1#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Name of the endpoint_slice, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#name EndpointSliceV1#name} Name *string `field:"optional" json:"name" yaml:"name"` // Namespace defines the space within which name of the endpoint_slice must be unique. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#namespace EndpointSliceV1#namespace} Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` }
type EndpointSliceV1MetadataOutputReference ¶
type EndpointSliceV1MetadataOutputReference interface { cdktf.ComplexObject Annotations() *map[string]*string SetAnnotations(val *map[string]*string) AnnotationsInput() *map[string]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GenerateName() *string SetGenerateName(val *string) GenerateNameInput() *string Generation() *float64 InternalValue() *EndpointSliceV1Metadata SetInternalValue(val *EndpointSliceV1Metadata) Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string Name() *string SetName(val *string) NameInput() *string Namespace() *string SetNamespace(val *string) NamespaceInput() *string ResourceVersion() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Uid() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetAnnotations() ResetGenerateName() ResetLabels() ResetName() ResetNamespace() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewEndpointSliceV1MetadataOutputReference ¶
func NewEndpointSliceV1MetadataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) EndpointSliceV1MetadataOutputReference
type EndpointSliceV1Port ¶
type EndpointSliceV1Port struct { // The application protocol for this port. // // This is used as a hint for implementations to offer richer behavior for protocols that they understand. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#app_protocol EndpointSliceV1#app_protocol} AppProtocol *string `field:"required" json:"appProtocol" yaml:"appProtocol"` // port represents the port number of the endpoint. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#port EndpointSliceV1#port} Port *string `field:"required" json:"port" yaml:"port"` // name represents the name of this port. All ports in an EndpointSlice must have a unique name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#name EndpointSliceV1#name} Name *string `field:"optional" json:"name" yaml:"name"` // protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/kubernetes/2.23.0/docs/resources/endpoint_slice_v1#protocol EndpointSliceV1#protocol} Protocol *string `field:"optional" json:"protocol" yaml:"protocol"` }
type EndpointSliceV1PortList ¶
type EndpointSliceV1PortList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) EndpointSliceV1PortOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewEndpointSliceV1PortList ¶
func NewEndpointSliceV1PortList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) EndpointSliceV1PortList
type EndpointSliceV1PortOutputReference ¶
type EndpointSliceV1PortOutputReference interface { cdktf.ComplexObject AppProtocol() *string SetAppProtocol(val *string) AppProtocolInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Port() *string SetPort(val *string) PortInput() *string Protocol() *string SetProtocol(val *string) ProtocolInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetName() ResetProtocol() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewEndpointSliceV1PortOutputReference ¶
func NewEndpointSliceV1PortOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) EndpointSliceV1PortOutputReference
Source Files ¶
- EndpointSliceV1.go
- EndpointSliceV1Config.go
- EndpointSliceV1Endpoint.go
- EndpointSliceV1EndpointCondition.go
- EndpointSliceV1EndpointConditionOutputReference.go
- EndpointSliceV1EndpointConditionOutputReference__checks.go
- EndpointSliceV1EndpointList.go
- EndpointSliceV1EndpointList__checks.go
- EndpointSliceV1EndpointOutputReference.go
- EndpointSliceV1EndpointOutputReference__checks.go
- EndpointSliceV1EndpointTargetRef.go
- EndpointSliceV1EndpointTargetRefOutputReference.go
- EndpointSliceV1EndpointTargetRefOutputReference__checks.go
- EndpointSliceV1Metadata.go
- EndpointSliceV1MetadataOutputReference.go
- EndpointSliceV1MetadataOutputReference__checks.go
- EndpointSliceV1Port.go
- EndpointSliceV1PortList.go
- EndpointSliceV1PortList__checks.go
- EndpointSliceV1PortOutputReference.go
- EndpointSliceV1PortOutputReference__checks.go
- EndpointSliceV1__checks.go
- main.go