コード例 #1
0
        public PodsController(IAuthenticationProvider authProvider)
        {
            _auth = authProvider;
            var k8s = new KubeRequestBuilder(_auth);

            _podsRequest = k8s.Create <PodsRequest>();
        }
コード例 #2
0
        public PodsController(IAuthenticationProvider authProvider, IOptions <KubeOptions> options)
        {
            _auth = authProvider;
            var k8s = new KubeRequestBuilder(_auth, options.Value);

            _podsRequest = k8s.Create <PodsRequest>();
        }